package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * ApiRequestGetMemberInGroupData
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiRequestGetMemberInGroupData   {
  @JsonProperty("orgId")
  private String orgId = null;

  @JsonProperty("tdId")
  private Integer tdId = null;

  @JsonProperty("pageNum")
  private Integer pageNum = null;

  @JsonProperty("pageSize")
  private Integer pageSize = null;

  public ApiRequestGetMemberInGroupData orgId(String orgId) {
    this.orgId = orgId;
    return this;
  }

  /**
   * 营业部ID，空值-当前营业部
   * @return orgId
  **/
  @ApiModelProperty(value = "营业部ID，空值-当前营业部")


  public String getOrgId() {
    return orgId;
  }

  public void setOrgId(String orgId) {
    this.orgId = orgId;
  }

  public ApiRequestGetMemberInGroupData tdId(Integer tdId) {
    this.tdId = tdId;
    return this;
  }

  /**
   * 团队ID，空值-所有团队
   * @return tdId
  **/
  @ApiModelProperty(value = "团队ID，空值-所有团队")


  public Integer getTdId() {
    return tdId;
  }

  public void setTdId(Integer tdId) {
    this.tdId = tdId;
  }

  public ApiRequestGetMemberInGroupData pageNum(Integer pageNum) {
    this.pageNum = pageNum;
    return this;
  }

  /**
   * Get pageNum
   * @return pageNum
  **/
  @ApiModelProperty(value = "")


  public Integer getPageNum() {
    return pageNum;
  }

  public void setPageNum(Integer pageNum) {
    this.pageNum = pageNum;
  }

  public ApiRequestGetMemberInGroupData pageSize(Integer pageSize) {
    this.pageSize = pageSize;
    return this;
  }

  /**
   * Get pageSize
   * @return pageSize
  **/
  @ApiModelProperty(value = "")


  public Integer getPageSize() {
    return pageSize;
  }

  public void setPageSize(Integer pageSize) {
    this.pageSize = pageSize;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiRequestGetMemberInGroupData apiRequestGetMemberInGroupData = (ApiRequestGetMemberInGroupData) o;
    return Objects.equals(this.orgId, apiRequestGetMemberInGroupData.orgId) &&
        Objects.equals(this.tdId, apiRequestGetMemberInGroupData.tdId) &&
        Objects.equals(this.pageNum, apiRequestGetMemberInGroupData.pageNum) &&
        Objects.equals(this.pageSize, apiRequestGetMemberInGroupData.pageSize);
  }

  @Override
  public int hashCode() {
    return Objects.hash(orgId, tdId, pageNum, pageSize);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiRequestGetMemberInGroupData {\n");
    
    sb.append("    orgId: ").append(toIndentedString(orgId)).append("\n");
    sb.append("    tdId: ").append(toIndentedString(tdId)).append("\n");
    sb.append("    pageNum: ").append(toIndentedString(pageNum)).append("\n");
    sb.append("    pageSize: ").append(toIndentedString(pageSize)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

